package com.bigger.arch.app.web;

import com.bigger.arch.app.repository.util.BiggerDaoConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ComponentScan(basePackages = {"com.bigger"})
@Import({BiggerAppConfig.class, BiggerDaoConfig.class})
@ImportResource("classpath:demo-config.xml")
public class BiggerAppWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(BiggerAppWebApplication.class, args);
    }
}
